package model;

import java.util.*;

public class Installation
{
	private int id;
	private String serialNumber;
	private Date garantyExpDate;
	private Date installDate;
	private InstallationType type;
	private Apartment apartment;

	public Installation()
	{

	}

	public Installation(int id)
	{
		this.id = id;
	}

	/* ACCESSORS */
	public int getId()
	{
		return id;
	}

	public String getSerialNumber()
	{
		return serialNumber;
	}

	public Date getGarantyExpDate()
	{
		return garantyExpDate;
	}

	public Date getInstallDate()
	{
		return installDate;
	}

	public InstallationType getType()
	{
		return type;
	}

	public Apartment getApartment()
	{
		return apartment;
	}

	/* MUTATORS */
	public void setId(int id)
	{
		this.id = id;
	}

	public void setSerialNumber(String serialNumber)
	{
		this.serialNumber = serialNumber;
	}

	public void setGarantyExpDate(Date garantyExpDate)
	{
		this.garantyExpDate = garantyExpDate;
	}

	public void setInstallDate(Date installDate)
	{
		this.installDate = installDate;
	}

	public void setType(InstallationType type)
	{
		this.type = type;
	}

	public void setApartment(Apartment apartment)
	{
		this.apartment = apartment;
	}

}
